package com.example.child_protection.service;

import com.example.child_protection.dto.base.BaseResponseDTO;
import com.example.child_protection.dto.request.SimpleIdRequestDTO;
import com.example.child_protection.dto.request.find.PhysicalExaminationRequestDTO;
import com.example.child_protection.dto.response.PhysicalExaminationListResponseDTO;
import com.example.child_protection.dto.response.PhysicalExaminationResponseDTO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 儿童档案查询service
 * @date 2018-11-2
 * @author Biz
 */
@Service
@Transactional
public interface PhysicalExaminationQueryService {

    /**
     * id查询
     * @param requestDTO
     * @return
     */
    public PhysicalExaminationResponseDTO findId(SimpleIdRequestDTO requestDTO);

    /**
     * 列表查询
     * @param requestDTO
     * @return
     */
    public PhysicalExaminationListResponseDTO findList(PhysicalExaminationRequestDTO requestDTO);

    /**
     * 统计体检总次数
     * @param requestDTO
     * @return
     */
    public BaseResponseDTO count(PhysicalExaminationRequestDTO requestDTO);

}
